home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / X11 / xkb / geometry / dell < prev    next >
Encoding:
Text File  |  2009-03-31  |  14.2 KB  |  543 lines

  1. // $Xorg: dell,v 1.4 2001/02/09 02:05:49 xorgcvs Exp $
  2. //
  3. //Copyright 1996, 1998  The Open Group
  4. //
  5. //Permission to use, copy, modify, distribute, and sell this software and its
  6. //documentation for any purpose is hereby granted without fee, provided that
  7. //the above copyright notice appear in all copies and that both that
  8. //copyright notice and this permission notice appear in supporting
  9. //documentation.
  10. //
  11. //The above copyright notice and this permission notice shall be
  12. //included in all copies or substantial portions of the Software.
  13. //
  14. //THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  15. //EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  16. //MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  17. //IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
  18. //OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
  19. //ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  20. //OTHER DEALINGS IN THE SOFTWARE.
  21. //
  22. //Except as contained in this notice, the name of The Open Group shall
  23. //not be used in advertising or otherwise to promote the sale, use or
  24. //other dealings in this Software without prior written authorization
  25. //from The Open Group.
  26. //
  27. default xkb_geometry "dell101" {
  28.  
  29.     description= "Dell 101";
  30.     width= 470;
  31.     height= 210;
  32.  
  33.     shape.cornerRadius= 1;
  34.     shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
  35.     shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } };
  36.     shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } };
  37.     shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } };
  38.     shape "RTRN" { { [ 42,18] }, { [2,1], [ 40,16] } };
  39.     shape "CAPS" { { [ 33,18] }, { [ 28,18] }, { [2,1], [ 26,16] } };
  40.     shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,16] } };
  41.     shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,16] } };
  42.     shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } };
  43.     shape "SPCE" { { [133,18] }, { [2,1], [131,16] } };
  44.     shape "KP0"  { { [ 37,18] }, { [2,1], [ 35,16] } };
  45.     shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } };
  46.  
  47.     shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
  48.     shape "LED"  { cornerRadius= 0, { [  5,  1 ] } };
  49.     solid "LedPanel" {
  50.     shape= "LEDS";
  51.     top=  52;
  52.     left= 377;
  53.     color= "grey10";
  54.     };
  55.  
  56.     indicator.onColor= "green";
  57.     indicator.offColor= "green30";
  58.     indicator.top= 67;
  59.     indicator.shape= "LED";
  60.     indicator "Num Lock"     { left= 382; };
  61.     indicator "Caps Lock"    { left= 407; };
  62.     indicator "Scroll Lock"  { left= 433; };
  63.     text.top= 55;
  64.     text.color= "black";
  65.     text "NumLockLabel"        { left= 378; text="Num\nLock"; };
  66.     text "CapsLockLabel"    { left= 403; text="Caps\nLock"; };
  67.     text "ScrollLockLabel"    { left= 428; text="Scroll\nLock"; };
  68.  
  69.     section.left= 19;
  70.     row.left= 1;
  71.     key.shape= "NORM";
  72.     key.gap=  1;
  73.     section "Function" {
  74.     top= 52;
  75.     row {
  76.         top= 1;
  77.         keys {  { <ESC>, color="grey20" },
  78.             { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
  79.             { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
  80.             { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
  81.             { <PRSC>, 8 }, <SCLK>, <PAUS> 
  82.         };
  83.     };
  84.     }; // End of "Function" section
  85.  
  86.     section "Alpha" {
  87.     top= 91;
  88.     row {
  89.         top= 1;
  90.         keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
  91.            <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
  92.            <AE10>, <AE11>, <AE12>,
  93.            { <BKSP>, "BKSP", color="grey20" }
  94.         };
  95.     };
  96.     row {
  97.         top= 20;
  98.         keys { { <TAB>, "TABK", color="grey20" },
  99.            <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
  100.            <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
  101.            <AD11>, <AD12>, { <BKSL>, "BKSL" }
  102.         };
  103.     };
  104.     row {
  105.         top= 39;
  106.         keys { { <CAPS>, "CAPS", color="grey20" },
  107.            <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
  108.            <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
  109.            <AC11>, { <RTRN>, "RTRN", color="grey20" }
  110.         };
  111.     };
  112.     row {
  113.         top= 58;
  114.         keys { { <LFSH>, "LFSH", color="grey20" },
  115.             <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
  116.             <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
  117.             { <RTSH>, "RTSH", color="grey20" }
  118.         };
  119.     };
  120.     row {
  121.         top= 77;
  122.         key.shape= "MODK";
  123.         key.color= "grey20";
  124.         keys { <LCTL>, { <LALT>, 21 },
  125.            { <SPCE>, "SPCE", color="white" },
  126.            <RALT>, { <RCTL>, 21 }
  127.         };
  128.     };
  129.     }; // End of "Alpha" section
  130.  
  131.     section "Editing" {
  132.     top= 91;
  133.     left= 312;
  134.     key.color= "grey20";
  135.     row {
  136.         top= 1;
  137.         keys { <INS>, <HOME>, <PGUP> };
  138.     };
  139.         row {
  140.         top= 20;
  141.         keys { <DELE>, <END>, <PGDN> };
  142.     };
  143.     row {
  144.         top= 58;
  145.         left= 20;
  146.         keys { <UP> };
  147.     };
  148.     row {
  149.         top= 77;
  150.         keys { <LEFT>, <DOWN>, <RGHT> };
  151.     };
  152.     }; // End of "Editing" section
  153.  
  154.     section "Keypad" {
  155.     top= 91;
  156.     left= 376;
  157.     row {
  158.         top= 1;
  159.         key.color= "grey20";
  160.         keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
  161.     };
  162.     row {
  163.         top= 20;
  164.         keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
  165.     };
  166.     row {
  167.         top= 39;
  168.         keys { <KP4>, <KP5>, <KP6> };
  169.     };
  170.     row {
  171.         top= 58;
  172.         keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
  173.     };
  174.     row {
  175.         top= 77;
  176.         keys { { <KP0>, "KP0" }, <KPDL> };
  177.     };
  178.     }; // End of "Keypad" section
  179.  
  180.     alias <AC00> = <CAPS>;
  181.     alias <AA00> = <LCTL>;
  182.  
  183. }; // End of "default" geometry
  184.  
  185.  
  186. xkb_geometry "dell65" {
  187. };
  188.  
  189. xkb_geometry "dell65x" {
  190.  
  191.     description= "Dell 101";
  192.     width= 470;
  193.     height= 210;
  194.     color="grey10";
  195.  
  196.     shape.cornerRadius= 1;
  197.     shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
  198.     shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } };
  199.     shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } };
  200.     shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } };
  201.     shape "RTRN" { { [ 42,18] }, { [2,1], [ 40,16] } };
  202.     shape "CAPS" { { [ 33,18] }, { [ 28,18] }, { [2,1], [ 26,16] } };
  203.     shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,16] } };
  204.     shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,16] } };
  205.     shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } };
  206.     shape "SPCE" { { [133,18] }, { [2,1], [131,16] } };
  207.     shape "KP0"  { { [ 37,18] }, { [2,1], [ 35,16] } };
  208.     shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } };
  209.  
  210.     shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
  211.     shape "LED"  { cornerRadius= 0, { [  5,  1 ] } };
  212.     solid "LedPanel" {
  213.     shape= "LEDS";
  214.     top=  52;
  215.     left= 377;
  216.     color= "grey10";
  217.     };
  218.  
  219.     shape "BACKGROUND"  { cornerRadius=5, { [  470,  210 ] } };
  220.     solid "Background" {
  221.     shape= "BACKGROUND";
  222.     top=  0;
  223.     left= 0;
  224.     color= "grey10";
  225.     };
  226.  
  227.     indicator.onColor= "green";
  228.     indicator.offColor= "green30";
  229.     indicator.top= 67;
  230.     indicator.shape= "LED";
  231.     indicator "Num Lock"     { left= 382; };
  232.     indicator "Caps Lock"    { left= 407; };
  233.     indicator "Scroll Lock"  { left= 433; };
  234.     text.top= 55;
  235.     text.color= "black";
  236.     text "NumLockLabel"        { left= 378; text="Num\nLock"; };
  237.     text "CapsLockLabel"    { left= 403; text="Caps\nLock"; };
  238.     text "ScrollLockLabel"    { left= 428; text="Scroll\nLock"; };
  239.  
  240.     section.left= 19;
  241.     row.left= 1;
  242.     key.shape= "NORM";
  243.     key.gap=  1;
  244.     section "Function" {
  245.     top= 52;
  246.     row {
  247.         top= 1;
  248.         keys {  { <ESC>, color="grey20" },
  249.             { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
  250.             { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
  251.             { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
  252.             { <PRSC>, 8 }, <SCLK>, <PAUS> 
  253.         };
  254.     };
  255.     }; // End of "Function" section
  256.  
  257.     section "Alpha" {
  258.     top= 91;
  259.     row {
  260.         top= 1;
  261.         keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
  262.            <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
  263.            <AE10>, <AE11>, <AE12>,
  264.            { <BKSP>, "BKSP", color="grey20" }
  265.         };
  266.     };
  267.     row {
  268.         top= 20;
  269.         keys { { <TAB>, "TABK", color="grey20" },
  270.            <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 
  271.            <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
  272.            <AD11>, <AD12>, { <BKSL>, "BKSL" }
  273.         };
  274.     };
  275.     row {
  276.         top= 39;
  277.         keys { { <CAPS>, "CAPS", color="grey20" },
  278.            <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 
  279.            <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
  280.            <AC11>, { <RTRN>, "RTRN", color="grey20" }
  281.         };
  282.     };
  283.     row {
  284.         top= 58;
  285.         keys { { <LFSH>, "LFSH", color="grey20" },
  286.             <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 
  287.             <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
  288.             { <RTSH>, "RTSH", color="grey20" }
  289.         };
  290.     };
  291.     row {
  292.         top= 77;
  293.         key.shape= "MODK";
  294.         key.color= "grey20";
  295.         keys { <LCTL>, { <LALT>, 21 },
  296.            { <SPCE>, "SPCE", color="white" },
  297.            <RALT>, { <RCTL>, 21 }
  298.         };
  299.     };
  300.     }; // End of "Alpha" section
  301.  
  302.     section "Editing" {
  303.     top= 91;
  304.     left= 312;
  305.     key.color= "grey20";
  306.     row {
  307.         top= 1;
  308.         keys { <INS>, <HOME>, <PGUP> };
  309.     };
  310.         row {
  311.         top= 20;
  312.         keys { <DELE>, <END>, <PGDN> };
  313.     };
  314.     row {
  315.         top= 58;
  316.         left= 20;
  317.         keys { <UP> };
  318.     };
  319.     row {
  320.         top= 77;
  321.         keys { <LEFT>, <DOWN>, <RGHT> };
  322.     };
  323.     }; // End of "Editing" section
  324.  
  325.     section "Keypad" {
  326.     top= 91;
  327.     left= 376;
  328.     row {
  329.         top= 1;
  330.         key.color= "grey20";
  331.         keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
  332.     };
  333.     row {
  334.         top= 20;
  335.         keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
  336.     };
  337.     row {
  338.         top= 39;
  339.         keys { <KP4>, <KP5>, <KP6> };
  340.     };
  341.     row {
  342.         top= 58;
  343.         keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
  344.     };
  345.     row {
  346.         top= 77;
  347.         keys { { <KP0>, "KP0" }, <KPDL> };
  348.     };
  349.     }; // End of "Keypad" section
  350.  
  351.     alias <AC00> = <CAPS>;
  352.     alias <AA00> = <LCTL>;
  353.  
  354. };
  355.  
  356.  
  357. //
  358. // Dell Precision M65
  359. //
  360.  
  361. xkb_geometry "dellm65" {
  362.  
  363.     description= "Dell Precision M65";
  364.     width= 308;
  365.     height= 152;
  366.     baseColor = "grey20";
  367.     labelColor = "white";
  368.  
  369.     shape "BACKGROUND"  { cornerRadius = 3, { [  308,  152 ] } };
  370.     shape "BACKGROUND2" { cornerRadius = 2, { [  7, 22 ], 
  371.                                               [ 171, 22 ],
  372.                                               [ 171, 10 ],
  373.                                               [ 301, 10 ],
  374.                                               [ 301, 148 ],
  375.                                               [ 244, 148 ],
  376.                                               [ 244, 132 ],
  377.                                               [   7, 132] } }; 
  378.     solid "Background" {
  379.     shape = "BACKGROUND";
  380.     top = 0;
  381.     left = 0;
  382.     color = "grey20";
  383.     };
  384.     solid "Background2" {
  385.     shape = "BACKGROUND2";
  386.     top = 0;
  387.     left = 0;
  388.     color = "black";
  389.     };
  390.  
  391.     shape "LEDS" { cornerRadius = 4, { [ 26, 8 ] } };
  392.     shape "LED" { cornerRadius = 0, { [ 4, 4 ] } };
  393.     solid "LedPanel" {
  394.     shape = "LEDS";
  395.     top = 8;
  396.     left = 69;
  397.     color = "grey20";
  398.     };
  399.  
  400.     indicator.onColor= "green";
  401.     indicator.offColor= "gray20";
  402.     indicator.top= 10;
  403.     indicator.shape= "LED";
  404.     indicator "Num Lock"     { left= 72; };
  405.     indicator "Caps Lock"    { left= 80; };
  406.     indicator "Scroll Lock"  { left= 88; };
  407.  
  408.     shape "MEDIA" { cornerRadius = 5, { [ 2, 2], [ 12, 12 ] } };
  409.     shape "POWER" { cornerRadius = 7, { [ 14, 14 ] } };
  410.  
  411.     section "Media" {
  412.         top = 5;
  413.         left = 102;
  414.         width = 60;
  415.         height = 14;
  416.         key.color="grey30";
  417.         key.shape = "MEDIA";
  418.         row {
  419.            top = 0;
  420.            keys {
  421.              <I2E>, <I30>, <I20>, { <I04>, shape = "POWER", gap = 3 }
  422.            };
  423.         };
  424.     };
  425.  
  426.  
  427.     shape "FKEY" { cornerRadius = 1, { [ 18, 12 ] }, { [ 1, 1 ], [ 17, 10 ] } };
  428.  
  429.     section "Function" {
  430.        top = 12;
  431.        left = 8;
  432.        width = 290;
  433.        height = 24;
  434.        key.color = "grey80";
  435.        key.shape = "FKEY";
  436.        key.gap = 0;
  437.        row {
  438.         top = 0;
  439.             keys {      { <MENU>, 165 }, <PRSC>, <NMLK>, <PAUS>, 
  440.                         { <INS>, 1 },  <HOME>, <PGUP> };
  441.        };
  442.        row {
  443.         top = 12;
  444.             keys { <ESC>, { <FK01>, 1 }, <FK02>, <FK03>, <FK04>, 
  445.                           { <FK05>, 1 }, <FK06>, <FK07>, <FK08>,
  446.                           { <FK09>, 1 }, <FK10>, <FK11>, <FK12>,
  447.                           { <DELE>,  1 }, <END>, <PGDN> };
  448.        };
  449.    };
  450.  
  451.    shape "AKEY" { cornerRadius = 1, { [ 19, 19 ] }, { [ 2, 1 ], [ 17, 15 ] } };
  452.    shape "BKSP" { cornerRadius = 1, { [ 44, 19 ] }, { [ 2, 1 ], [ 42, 15 ] } };
  453.    shape "TABK" { cornerRadius = 1, { [ 31, 19 ] }, { [ 2, 1 ], [ 29, 15 ] } };
  454.    shape "BKSL" { cornerRadius = 1, { [ 31, 19 ] }, { [ 2, 1 ], [ 29, 15 ] } };
  455.    shape "CAPS" { cornerRadius = 1, { [ 34, 19 ] }, { [ 2, 1 ], [ 32, 15 ] } };
  456.    shape "RTRN" { cornerRadius = 1, { [ 47, 19 ] }, { [ 2, 1 ], [ 45, 15 ] } };
  457.    shape "LFSH" { cornerRadius = 1, { [ 44, 19 ] }, { [ 2, 1 ], [ 42, 15 ] } };
  458.    shape "RTSH" { cornerRadius = 1, { [ 56, 19 ] }, { [ 2, 1 ], [ 54, 15 ] } };
  459.    shape "LCTL" { cornerRadius = 1, { [ 31, 19 ] }, { [ 2, 1 ], [ 29, 15 ] } };
  460.    shape "LALT" { cornerRadius = 1, { [ 25, 19 ] }, { [ 2, 1 ], [ 23, 15 ] } };
  461.    shape "RCTL" { cornerRadius = 1, { [ 25, 19 ] }, { [ 2, 1 ], [ 23, 15 ] } };
  462.    shape "SPCE" { cornerRadius = 1, { [ 96, 19 ] }, { [ 2, 1 ], [ 94, 15 ] } };
  463.    
  464.  
  465.    section "Alpha" {
  466.        top = 36;
  467.        left = 8;
  468.        width = 290;
  469.        height = 21;
  470.        key.color = "grey80";
  471.        key.shape = "AKEY";
  472.        key.gap = 0;
  473.        row {
  474.         top = 1;
  475.             keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
  476.            <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
  477.            <AE10>, <AE11>, <AE12>, { <BKSP>, 1, "BKSP" } };
  478.     };
  479.        row {
  480.         top = 20;
  481.             keys { { <TAB>, "TABK" },
  482.            { <AD01>, 1 }, <AD02>, <AD03>, <AD04>, <AD05>, 
  483.            <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 
  484.            <AD11>, <AD12>, { <BKSL>, 1, "BKSL" } };
  485.     };
  486.        row {
  487.         top = 39;
  488.             keys { { <CAPS>, "CAPS" },
  489.            { <AC01>, 1 }, <AC02>, <AC03>, <AC04>, <AC05>, 
  490.            <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 
  491.            <AC11>, { <RTRN>, 1, "RTRN" } };
  492.     };
  493.        row {
  494.         top = 58;
  495.             keys { { <LFSH>, "LFSH" },
  496.            { <AB01>, 1 }, <AB02>, <AB03>, <AB04>, <AB05>, 
  497.            <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, 
  498.            { <RTSH>, 1, "RTSH" } };
  499.     };
  500.        row {
  501.            top = 77;
  502.            keys { { <LCTL>, "LCTL" }, { <LWIN>, 20 }, { <LALT>, "LALT" }, 
  503.                   { <SPCE>, "SPCE" }, <RALT>, { <RCTL>, "RCTL" } };
  504.     };
  505.    };
  506.  
  507.    shape "SKEY" { cornerRadius = 1, { [ 18, 17 ] }, { [ 2, 1 ], [ 16, 13 ] } };
  508.    section "Arrows" {
  509.         top = 113;
  510.         left = 243;
  511.         width = 54;
  512.         height = 36;
  513.         
  514.        key.color = "grey80";
  515.         key.shape = "SKEY";
  516.         row {
  517.            top = 0;
  518.            left = 20;
  519.  
  520.            keys { <UP> };
  521.         };
  522.   
  523.         row {
  524.             top = 17;
  525.             left = 2;
  526.  
  527.             keys { <LEFT>, <DOWN>, <RGHT> };
  528.         };
  529.    };
  530.  
  531.   shape "STIK" { cornerRadius = 4, { [ 7, 7 ] } };
  532.  
  533.   solid "STIK" {
  534.       priority = 255;
  535.       color = "blue";
  536.       shape = "STIK";
  537.       top = 90; 
  538.       left = 135;
  539.   };
  540. };
  541.  
  542.  
  543.